package domain;

import java.util.List;

public class GameBean extends BaseBean{


    /**
     * code : 1
     * status : 0
     * msg :
     * data : [{"gid":123,"link":"","photo":"http://localhost/public/upload/ad/2018/06-29/563d368b735c7e6f48d9a3bae6f57c23.jpg","text":""}]
     */


    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        public DataBean(int gid, String link, String photo, String text) {
            this.gid = gid;
            this.link = link;
            this.photo = photo;
            this.text = text;
        }

        /**
         * gid : 123
         * link :
         * photo : http://localhost/public/upload/ad/2018/06-29/563d368b735c7e6f48d9a3bae6f57c23.jpg
         * text :
         */

        private int gid;
        private String link;
        private String photo;
        private String text;

        public int getGid() {
            return gid;
        }

        public void setGid(int gid) {
            this.gid = gid;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }
    }
}
